﻿using System.Reflection;
using System.Resources;

namespace Core.Helpers
{
    public class ResourceManagerHelper
    {
        public string GetResourceKey(string keyName)
        {
            var rm = new ResourceManager("InventizerResource", Assembly.GetExecutingAssembly());
            var result = rm.GetString(keyName);
            return result;
        }
    }
}
